import React from "react";

interface Props {
  type: string;
  className?: string;
  style?: React.CSSProperties;
  onClick?: (event: React.MouseEvent<SVGSVGElement>) => void;
}

const GeekIcon = ({ type, className, onClick, style }:Props)=>{
  return (
    <svg className={className} onClick={onClick} style={style}>
      <use xlinkHref={`#${type}`}></use>
    </svg>
  );
}

export default GeekIcon;